package staticDemo;

public class Teste2 {
    public static void main(String[] args) {
        // 目标：通过案例理解类变量的应用场景

        User u1 = new User();
        User u2 = new User();
        User u3 = new User();
        User u4 = new User();

        System.out.println(User.number); // 4
    }
}
